﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SouthKoreaCoffee.IOModel
{
    public class DigitalMsg
    {
        private static DigitalMsg instance;
        private DigitalMsg() { }
        public static DigitalMsg Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new DigitalMsg();
                }
                return instance;
            }
        }
        #region 输入数据
        /// <summary>
        /// 落杯1 开
        /// </summary>
        public string Drop_Cup_start { get; set; } = "01 05 00 0A FF 00 AC 38";// "01 05 00 00 FF 00 8C 3A ";//"01 05 00 04 FF 00 CD FB";
        /// <summary>
        ///落杯1 关
        /// </summary>
        public string Drop_Cup_end { get; set; } = "01 05 00 0A 00 00 ED C8";//"01 05 00 00 00 00 CD CA ";//"01 05 00 04 00 00 8C 0B";
        /// <summary>
        /// 落杯2 开
        /// </summary>
        public string Drop_Cup2_start { get; set; } = "01 05 00 01 FF 00 DD FA";// "01 05 00 05 FF 00 9C 3B";
        /// <summary>
        ///落杯2 关
        /// </summary>
        public string Drop_Cup2_end { get; set; } = "01 05 00 01 00 00 9C 0A";// "01 05 00 05 00 00 DD CB";
        /// <summary>
        /// 机器人远程开机2 开
        /// </summary>
        public string RobotPowerOn2_start { get; set; } = "01 05 00 03 FF 00 7C 3A";
        /// <summary>
        /// 机器人远程开机2 关
        /// </summary>
        public string RobotPowerOn2_end { get; set; } = "01 05 00 03 00 00 3D CA";
        /// <summary>
        /// 果糖泵1 开
        /// </summary>
        public string GT1_start { get; set; } = "01 05 00 04 FF 00 CD FB";// "01 05 00 06 FF 00 6C 3B";
        /// <summary>
        /// 果糖泵1 关
        /// </summary>
        public string GT1_end { get; set; } = "01 05 00 04 00 00 8C 0B";// "01 05 00 06 00 00 2D CB";
        /// <summary>
        /// 果糖泵2 开
        /// </summary>
        public string GT2_start { get; set; } = "01 05 00 05 FF 00 9C 3B";//"01 05 00 07 FF 00 3D FB";
        /// <summary>
        /// 果糖泵2 关
        /// </summary>
        public string GT2_end { get; set; } = "01 05 00 05 00 00 DD CB";// "01 05 00 07 00 00 7C 0B";
        /// <summary>
        /// 果糖泵3 开
        /// </summary>
        public string GT3_start { get; set; } = "01 05 00 06 FF 00 6C 3B";// "01 05 00 08 FF 00 0D F8";
        /// <summary>
        /// 果糖泵3 关
        /// </summary>
        public string GT3_end { get; set; } = "01 05 00 06 00 00 2D CB";//"01 05 00 08 00 00 4C 08";
        /// <summary>
        /// 机器人远程开机 开
        /// </summary>
        public string RobotPowerOn_start { get; set; } = "01 05 00 07 FF 00 3D FB";// "01 05 00 00 FF 00 8C 3A ";
        /// <summary>
        /// 机器人远程开机 关
        /// </summary>
        public string RobotPowerOn_end { get; set; } = "01 05 00 07 00 00 7C 0B";//"01 05 00 00 00 00 CD CA ";
        #endregion
        #region 查询数据

        public string AllMessage { get; set; } = "01 04 00 00 00 32 71 DF";// "02 04 00 00 00 32 71 EC";////"01 04 00 00 00 32 71 DF";

        #endregion
    }
}
